Inheritance of Object Behavior - Consistent Extension of Object Life Cycles

نویسندگان

  • Gerti Kappel
  • Michael Schrefl
چکیده

Inheritance is one of the most prominent features of object-oriented design. Object types are organized in hierarchies in which subtypes inherit the structure as well as the behavior of supertypes. As inheritance of behavior is concerned, the discussion has mainly focused on inheritance of single activities in the past. Object behavior, however, is speciied at two interrelated levels of detail: at the activity level and at the object type level. The latter is speciied in terms of object life cycles that identify legal sequences of states and activities. In this paper we treat inheritance of object life cycles in the realm of Behavior Diagrams, which are based on Petri nets. A behavior diagram of an object type models the possible life cycles of its instances by states, activities, and arcs corresponding to places, transitions, and arcs of Petri nets. In an inheritance hierarchy, subtypes usually specialize supertypes in two ways: by extension and by reenement. For Behavior Diagrams, extension means adding activities, states, and arcs; and reenement means expanding activities and states in subnets. The main contribution of this paper is a set of suucient and necessary conditions to check whether a behavior diagram B 0 consistently extends another behavior diagram B.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Behavior Consistent Extension of Object Life Cycles

Various notions of conformance between operations of a subtype and operations of a supertype have been proposed (e.g., contravariance and covariance). Similarly, diierent notions of \consistent extension" of object life cycles can be deened to meet various objectives. This paper treats inheritance of object life cycles in the realm of behavior diagrams that identify legal sequences of states an...

متن کامل

Inheritance of behavior

One of the key issues of object-oriented modeling and design is inheritance. It allows for the definition of subclasses that inherit features of some superclass. Inheritance is well defined for static properties of classes such as attributes and methods. However, there is no general agreement on the meaning of inheritance when considering the dynamic behavior of objects, captured by their life ...

متن کامل

A Process-Algebraic Approach to Life-Cycle Inheritance

One of the key issues of object-oriented modeling is inheritance. It allows for the definition of subclasses that inherit features of some superclass. Inheritance is well defined for static properties of classes such as attributes and methods. However, there is no general agreement on the meaning of inheritance when considering the dynamic behavior of objects, determined by their life cycles. T...

متن کامل

Application of Combined Local Object Based Features and Cluster Fusion for the Behaviors Recognition and Detection of Abnormal Behaviors

In this paper, we propose a novel framework for behaviors recognition and detection of certain types of abnormal behaviors, capable of achieving high detection rates on a variety of real-life scenes. The new proposed approach here is a combination of the location based methods and the object based ones. First, a novel approach is formulated to use optical flow and binary motion video as the loc...

متن کامل

Inheritance Conditions for Object Life Cycle Diagrams

Inheritance is the main principle in object-oriented design methods to support structuring and reuse of object behaviour descriptions. Most proposals restrict the (formal) use of inheritance to method interfaces and method eeect speciications. We propose to extend the inheritance relation to cover whole object life cycles, i.e. to long term object behaviour. After sketching the basic idea of in...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994